package nc.itf.cda;

import nc.bs.framework.server._ServerForEJBNCLocator;
import nc.bs.pub.BusinessObject;

/**
 * business service ejb wrapper 
 * Created by EJBGenerator
 * based on velocity technology
 */

public class  cdaejbEjbBean extends BusinessObject{
	private Object thisService;
	
	public void ejbActivate(){}
	public void ejbPassivate(){}
	public void ejbRemove(){}
	
	public cdaejbEjbBean() {
		thisService=(Object)_ServerForEJBNCLocator.lookup("nc.itf.cda.cdaejb");
	}
	public void ejbCreate(){
		if(thisService == null)
			thisService=(Object)_ServerForEJBNCLocator.lookup("nc.itf.cda.cdaejb");
	}
	
	public  Object getService() {
		if(thisService == null)
			thisService=(Object)_ServerForEJBNCLocator.lookup("nc.itf.cda.cdaejb");			
		return thisService;
	}
	public java.lang.String doCalculate(nc.vo.cad.calpub.CalParaVO  arg0) throws Exception{
		
		return ((nc.itf.cad.calpub.ICadCalculate )getService()).doCalculate(arg0);		
	}
	public nc.vo.cad.calpub.CalReturnVO getCurrStatus(nc.vo.cad.calpub.CalParaVO  arg0) throws Exception{
		
		return ((nc.itf.cad.calpub.ICadCalculate )getService()).getCurrStatus(arg0);		
	}
	public java.lang.Object executeQuery(java.lang.String  arg0 ,nc.jdbc.framework.SQLParameter  arg1  ,nc.jdbc.framework.processor.ResultSetProcessor  arg2 ) throws Exception{
		
		return ((nc.itf.cad.pub.IPersistenceRetrieve )getService()).executeQuery(arg0 ,arg1  ,arg2 );		
	}
	public java.lang.Object executeQuery(java.lang.String  arg0 ,nc.jdbc.framework.processor.ResultSetProcessor  arg1 ) throws Exception{
		
		return ((nc.itf.cad.pub.IPersistenceRetrieve )getService()).executeQuery(arg0 ,arg1 );		
	}
	public boolean isModuleStarted(java.lang.String  arg0 ,java.lang.String  arg1 ) throws Exception{
		
		return ((nc.itf.cad.pub.IPersistenceRetrieve )getService()).isModuleStarted(arg0 ,arg1 );		
	}
	public nc.vo.pub.SuperVO[] queryByHeadBodyCondition(java.lang.String  arg0 ,java.lang.Class  arg1  ,java.lang.Class[]  arg2  ,java.lang.String  arg3 ) throws Exception{
		
		return ((nc.itf.cad.pub.IPersistenceRetrieve )getService()).queryByHeadBodyCondition(arg0 ,arg1  ,arg2  ,arg3 );		
	}
	public nc.vo.pub.SuperVO[] retrieveAll(java.lang.String  arg0 ,java.lang.Class  arg1 ) throws Exception{
		
		return ((nc.itf.cad.pub.IPersistenceRetrieve )getService()).retrieveAll(arg0 ,arg1 );		
	}
	public nc.vo.pub.SuperVO[] retrieveByClause(java.lang.String  arg0 ,java.lang.Class  arg1  ,java.lang.String  arg2 ) throws Exception{
		
		return ((nc.itf.cad.pub.IPersistenceRetrieve )getService()).retrieveByClause(arg0 ,arg1  ,arg2 );		
	}
	public nc.vo.pub.SuperVO retrieveByPk(java.lang.String  arg0 ,java.lang.Class  arg1  ,java.lang.String  arg2 ) throws Exception{
		
		return ((nc.itf.cad.pub.IPersistenceRetrieve )getService()).retrieveByPk(arg0 ,arg1  ,arg2 );		
	}
	public nc.vo.pub.SuperVO retrieveByPk(java.lang.Class  arg0 ,java.lang.String  arg1  ,java.lang.String[]  arg2 ) throws Exception{
		
		return ((nc.itf.cad.pub.IPersistenceRetrieve )getService()).retrieveByPk(arg0 ,arg1  ,arg2 );		
	}
	public nc.vo.pub.SuperVO[] retrieveByVO(java.lang.String  arg0 ,nc.vo.pub.SuperVO  arg1 ) throws Exception{
		
		return ((nc.itf.cad.pub.IPersistenceRetrieve )getService()).retrieveByVO(arg0 ,arg1 );		
	}
	public void deleteVO(java.lang.String  arg0 ,nc.vo.pub.SuperVO  arg1  ,java.lang.String  arg2 ) throws Exception{
		
		((nc.itf.cad.pub.IPersistenceUpdate )getService()).deleteVO(arg0 ,arg1  ,arg2 );
		
	}
	public void deleteVOArray(java.lang.String  arg0 ,nc.vo.pub.SuperVO[]  arg1  ,java.lang.String  arg2 ) throws Exception{
		
		((nc.itf.cad.pub.IPersistenceUpdate )getService()).deleteVOArray(arg0 ,arg1  ,arg2 );
		
	}
	public void deleteVOList(java.lang.String  arg0 ,java.util.List  arg1  ,java.lang.String  arg2 ) throws Exception{
		
		((nc.itf.cad.pub.IPersistenceUpdate )getService()).deleteVOList(arg0 ,arg1  ,arg2 );
		
	}
	public void deleteVOMulTypeArray(java.lang.String  arg0 ,nc.vo.pub.SuperVO[]  arg1  ,java.lang.String  arg2 ) throws Exception{
		
		((nc.itf.cad.pub.IPersistenceUpdate )getService()).deleteVOMulTypeArray(arg0 ,arg1  ,arg2 );
		
	}
	public void executeSQLs(java.lang.String[]  arg0 ,nc.jdbc.framework.SQLParameter[]  arg1 ) throws Exception{
		
		((nc.itf.cad.pub.IPersistenceUpdate )getService()).executeSQLs(arg0 ,arg1 );
		
	}
	public void executeSQLs(java.lang.String[]  arg0) throws Exception{
		
		((nc.itf.cad.pub.IPersistenceUpdate )getService()).executeSQLs(arg0);
		
	}
	public java.lang.String insertVO(java.lang.String  arg0 ,nc.vo.pub.SuperVO  arg1  ,java.lang.String  arg2 ) throws Exception{
		
		return ((nc.itf.cad.pub.IPersistenceUpdate )getService()).insertVO(arg0 ,arg1  ,arg2 );		
	}
	public java.lang.String[] insertVOArray(java.lang.String  arg0 ,nc.vo.pub.SuperVO[]  arg1  ,java.lang.String  arg2 ) throws Exception{
		
		return ((nc.itf.cad.pub.IPersistenceUpdate )getService()).insertVOArray(arg0 ,arg1  ,arg2 );		
	}
	public java.lang.String[] insertVOList(java.lang.String  arg0 ,java.util.List  arg1  ,java.lang.String  arg2 ) throws Exception{
		
		return ((nc.itf.cad.pub.IPersistenceUpdate )getService()).insertVOList(arg0 ,arg1  ,arg2 );		
	}
	public java.lang.String[] insertVOMulTypeArray(java.lang.String  arg0 ,nc.vo.pub.SuperVO[]  arg1  ,java.lang.String  arg2 ) throws Exception{
		
		return ((nc.itf.cad.pub.IPersistenceUpdate )getService()).insertVOMulTypeArray(arg0 ,arg1  ,arg2 );		
	}
	public void updateAndSetTs(java.lang.String  arg0 ,nc.vo.pub.SuperVO[]  arg1  ,java.lang.String[]  arg2  ,java.lang.String[]  arg3  ,java.lang.String  arg4 ) throws Exception{
		
		((nc.itf.cad.pub.IPersistenceUpdate )getService()).updateAndSetTs(arg0 ,arg1  ,arg2  ,arg3  ,arg4 );
		
	}
	public void updateVO(java.lang.String  arg0 ,nc.vo.pub.SuperVO  arg1  ,java.lang.String[]  arg2  ,java.lang.String  arg3 ) throws Exception{
		
		((nc.itf.cad.pub.IPersistenceUpdate )getService()).updateVO(arg0 ,arg1  ,arg2  ,arg3 );
		
	}
	public void updateVOArray(java.lang.String  arg0 ,nc.vo.pub.SuperVO[]  arg1  ,java.lang.String[]  arg2  ,java.lang.String  arg3 ) throws Exception{
		
		((nc.itf.cad.pub.IPersistenceUpdate )getService()).updateVOArray(arg0 ,arg1  ,arg2  ,arg3 );
		
	}
	public java.lang.String[] updateVOArrayByStatus(java.lang.String  arg0 ,nc.vo.pub.SuperVO[]  arg1  ,java.lang.String[]  arg2 ) throws Exception{
		
		return ((nc.itf.cad.pub.IPersistenceUpdate )getService()).updateVOArrayByStatus(arg0 ,arg1  ,arg2 );		
	}
	public void updateVOList(java.lang.String  arg0 ,java.util.List  arg1  ,java.lang.String[]  arg2  ,java.lang.String  arg3 ) throws Exception{
		
		((nc.itf.cad.pub.IPersistenceUpdate )getService()).updateVOList(arg0 ,arg1  ,arg2  ,arg3 );
		
	}
	public void updateVOMulTypeArray(java.lang.String  arg0 ,nc.vo.pub.SuperVO[]  arg1  ,java.lang.Object[]  arg2  ,java.lang.String  arg3 ) throws Exception{
		
		((nc.itf.cad.pub.IPersistenceUpdate )getService()).updateVOMulTypeArray(arg0 ,arg1  ,arg2  ,arg3 );
		
	}
	public void calClsDevalue(java.util.Hashtable  arg0) throws Exception{
		
		((nc.itf.cad.clscaldevalue.ITFClsCalDevalue )getService()).calClsDevalue(arg0);
		
	}
	public java.lang.String calSinDevalue(java.util.Hashtable  arg0) throws Exception{
		
		return ((nc.itf.cad.clscaldevalue.ITFClsCalDevalue )getService()).calSinDevalue(arg0);		
	}
	public java.lang.String calComDevalue(java.util.Hashtable  arg0) throws Exception{
		
		return ((nc.itf.cad.clscaldevalue.ITFClsCalDevalue )getService()).calComDevalue(arg0);		
	}
	public void calDevalueByCls(java.util.Hashtable  arg0) throws Exception{
		
		((nc.itf.cad.clscaldevalue.ITFClsCalDevalue )getService()).calDevalueByCls(arg0);
		
	}
	public java.util.HashMap getMigrmatrixbs(nc.vo.cad.calmigr.CalMigrmatrixVO[]  arg0) throws Exception{
		
		return ((nc.itf.cad.compcal.ITFCompcal )getService()).getMigrmatrixbs(arg0);		
	}
	public java.util.HashMap getScrollmatrixbs(nc.vo.cad.calscroll.CalScrollmatrixVO[]  arg0) throws Exception{
		
		return ((nc.itf.cad.compcal.ITFCompcal )getService()).getScrollmatrixbs(arg0);		
	}
	public nc.vo.pub.SuperVO[] checkRepeability(java.lang.String  arg0) throws Exception{
		
		return ((nc.itf.cad.compdefinition.ITFCompdef )getService()).checkRepeability(arg0);		
	}
	public nc.vo.pub.lang.UFDouble comLossRate(nc.vo.pub.lang.UFDate  arg0 ,nc.vo.pub.lang.UFDate  arg1  ,java.lang.String  arg2 ) throws Exception{
		
		return ((nc.itf.cad.compdefinition.ITFCompdef )getService()).comLossRate(arg0 ,arg1  ,arg2 );		
	}
	public void compDCFLossRate(java.lang.String  arg0) throws Exception{
		
		((nc.itf.cad.dcflossratecomp.ITFDCFLossRateComp )getService()).compDCFLossRate(arg0);
		
	}
	public nc.vo.capub.formular.FormularVO[] initFormular(java.lang.String  arg0 ,java.lang.String  arg1 ) throws Exception{
		
		return ((nc.itf.cad.formular.ITFFormular )getService()).initFormular(arg0 ,arg1 );		
	}
	public java.util.HashMap getFormularVal(java.lang.String  arg0 ,java.lang.String  arg1  ,nc.vo.cad.calpub.CalParaVO  arg2 ) throws Exception{
		
		return ((nc.itf.cad.formular.ITFFormularParse )getService()).getFormularVal(arg0 ,arg1  ,arg2 );		
	}
	public void compLossRate(java.lang.String  arg0 ,java.lang.String  arg1  ,java.lang.String[]  arg2 ) throws Exception{
		
		((nc.itf.cad.lossratecomp.ITFLossRateComp )getService()).compLossRate(arg0 ,arg1  ,arg2 );
		
	}
	public void calProCoe(java.lang.String  arg0) throws Exception{
		
		((nc.itf.cad.procoeset.ITFProCoeSetCal )getService()).calProCoe(arg0);
		
	}
}
	